package com.km.team.phsystem.beans.vo;

import org.apache.commons.collections.CollectionUtils;

import java.util.ArrayList;
import java.util.List;

/**
 * @author ：Riven.
 * @description：时段队列
 * @date ：2018/12/5
 */
public class QueueListAndStartTimeToStringVo {
    private String startTime;
    private String endTime;
    private List<QueueInfoCombinationVo> queueInfoList = new ArrayList<>();
    private Integer size;

    public QueueListAndStartTimeToStringVo() {
    }

    public QueueListAndStartTimeToStringVo(String startTime, String endTime) {
        this.startTime = startTime;
        this.endTime = endTime;
    }

    public QueueListAndStartTimeToStringVo(String startTime, QueueInfoCombinationVo queueInfoList) {
        this.startTime = startTime;
        this.queueInfoList.add(queueInfoList);
    }


    @Override
    public String toString() {
        return "QueueListAndStartTimeToStringVo{" +
            "startTime='" + startTime + '\'' +
            ", endTime='" + endTime + '\'' +
            ", queueInfoList=" + queueInfoList +
            ", size=" + size +
            '}';
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public List<QueueInfoCombinationVo> getQueueInfoList() {
        return queueInfoList;
    }

    public void setQueueInfoList(List<QueueInfoCombinationVo> queueInfoList) {
        this.queueInfoList = queueInfoList;
    }
}
